<!DOCTYPE html>
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<meta charset="utf-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<meta name="viewport" content="width=device-width, initial-scale=1">
		<meta name="description" content="{$description}">
		<meta name="keywords" content="{$keywords}">
		<meta name="author" content="Nguyen Thanh">
		<title> {$title} </title>
		{$this->Html->meta('icon')}
		{$this->Html->css('style')}
		{$this->Html->css('css1')}
		{$this->Html->css('style-khohang')}
		{$this->Html->css('jquery-ui.min')}
		{$this->Html->script('jquery.min')}
		{$this->Html->script('jquery-ui.min')}
		<!--[if lt IE 9]>{$this->Html->script('ie8-responsive-file-warning')}<![endif]-->
		<!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
		{$this->Html->script('ie-emulation-modes-warning')}

		<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
		<!--[if lt IE 9]>
		{$this->Html->script('html5shiv.min')}
		{$this->Html->script('respond.min')}
		<![endif]-->
		<script>
			var baseUrl = "{Router::url('/', true)}";
		</script>
		{$this->fetch('meta')}
		{$this->fetch('css')}
		{$this->fetch('script')}
	</head>
	<body>
		<div id="box1">
			<div id="box2">

				<div class="box2_1">
					<nav class="navbar navbar-default style_menu" role="navigation">
						<div class="container-fluid style_menu">
							<!-- Brand and toggle get grouped for better mobile display -->
							<div class="navbar-header">
								<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
									<span class="sr-only">Menu</span>
									<span class="icon-bar"></span>
									<span class="icon-bar"></span>
									<span class="icon-bar"></span>
								</button>
								<a class="navbar-brand chutrang" href="#">Danh sách nước hoa</a>
							</div>

							<!-- Collect the nav links, forms, and other content for toggling -->
							<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
								<ul class="nav navbar-nav left">
									<li {if $menuIndex == 1}class="active"{/if}>
										<a href="{Router::url('/', true)}quan_tri/san_pham/tra_cuu/">Tra cứu nước hoa</a>
									</li>
									{if $quyen == "QLadmin"}
									<li {if $menuIndex == 2}class="active"{/if}>
										<a class="chutrang" href="{Router::url('/', true)}quan_tri/nha_san_xuat/tra_cuu/">Tra cứu hãng sản xuất</a>
									</li>
									<li {if $menuIndex == 3}class="active"{/if}>
										<a href="{Router::url('/', true)}quan_tri/san_pham/them_moi/">Thêm sản phẩm</a>
									</li>
									<li {if $menuIndex == 4}class="active"{/if}>
										<a href="{Router::url('/', true)}quan_tri/nha_san_xuat/them_moi/">Thêm nhà sản xuất</a>
									</li>
									{/if}
								</ul>

							</div><!-- /.navbar-collapse -->
						</div><!-- /.container-fluid -->
					</nav>

				</div>
				<div class="cl"></div>
				<div class="cr"></div>
			</div>
			<div id="box3">
				{$this->fetch('content')}
			</div>
			<div id="box4">
				<div class="box4_1">
					<p class="copy">
						Copyright &copy; 2015 <a href="#">APaoLa</a>
						| designed by <a href="">www.apaola.com</a>
					</p>
				</div>
			</div>
		</div>
	</body>
</html>